﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PaginationBar.ascx.cs"
    Inherits="DutyWeb.UserControls.PaginationBar" %>
<table>
    <tr>
        <td style="width: 45px">
           <%-- <asp:Button ID="btnBack" runat="server" Text="Back" Visible="false" OnClick="btnBack_Click"
                Width="45px" CausesValidation="False" />--%>
            <asp:LinkButton ID="lbtnBack" runat="server"  CausesValidation="false" 
                onclick="lbtnBack_Click">Back</asp:LinkButton>
        </td>
        <td>
            <asp:DataList ID="dlPagination" runat="server" RepeatDirection="Horizontal" ShowHeader="False"
                OnItemDataBound="dlPagination_ItemDataBound">
                <ItemTemplate>
                    &nbsp;
                    <asp:Label ID="lblCurrentPage" runat="server" Font-Bold="True" Visible="False" Font-Size="12px"></asp:Label>
                    <asp:LinkButton ID="lbtnPageNumber" runat="server" OnClick="lbtnPageNumber_Click"></asp:LinkButton>
                </ItemTemplate>
            </asp:DataList>
        </td>
        <td style="width: 45px">
            <%--<asp:Button ID="btnNext" runat="server" Text="More..." Visible="false" OnClick="btnNext_Click"
                Width="45px" CausesValidation="False" />--%>
                <asp:LinkButton ID="lbtnMore" runat="server"  CausesValidation="false" 
                onclick="lbtnMore_Click">More...</asp:LinkButton>
        </td>
        <td style="width: 15px">
            &nbsp;
        </td>
        <td nowrap="nowrap">
            <asp:Label ID="lblTotal" runat="server" Font-Bold="True" Font-Size="12px"></asp:Label>
        </td>
    </tr>
</table>
